import { RouterProvider } from "react-router-dom";
import { Provider } from "react-redux";
import { router } from "@/router";
import { store } from "@/store";

/**
 * 应用程序根组件
 * 提供 Redux store 和路由配置
 */
function App() {
  return (
    <Provider store={store}>
      <RouterProvider router={router} />
    </Provider>
  );
}

export default App;
